.class public Lcom/xingbook/audio/d/g;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Lcom/xingbook/park/c/a/n;
.implements Lcom/xingbook/service/download/m;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/view/View;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/RelativeLayout;

.field private f:Landroid/view/View;

.field private g:Landroid/widget/TextView;

.field private h:Lcom/xingbook/audio/b/b;

.field private i:Landroid/view/View;

.field private j:Landroid/view/View;

.field private k:Landroid/view/View;

.field private l:Lcom/xingbook/audio/d/l;

.field private m:Lcom/xingbook/park/d/e;

.field private n:Lcom/xingbook/park/ui/o;

.field private o:Z

.field private p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

.field private q:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;


# direct methods
.method public constructor <init>(Landroid/app/Activity;FLcom/xingbook/audio/d/l;Lcom/xingbook/park/ui/o;Z)V
    .locals 7

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/audio/d/g;->o:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/audio/d/g;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/audio/d/g;->q:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/audio/d/g;->m:Lcom/xingbook/park/d/e;

    iput-object p3, p0, Lcom/xingbook/audio/d/g;->l:Lcom/xingbook/audio/d/l;

    iput-object p4, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    iput-boolean p5, p0, Lcom/xingbook/audio/d/g;->o:Z

    new-instance v1, Lcom/xingbook/audio/d/h;

    invoke-direct {v1, p0}, Lcom/xingbook/audio/d/h;-><init>(Lcom/xingbook/audio/d/g;)V

    invoke-virtual {p0, v1}, Lcom/xingbook/audio/d/g;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/high16 v1, 0x42d4

    mul-float/2addr v1, p2

    float-to-int v1, v1

    const/high16 v2, 0x42fc

    mul-float/2addr v2, p2

    float-to-int v2, v2

    new-instance v3, Landroid/widget/ImageView;

    invoke-direct {v3, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    sget-object v4, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    int-to-float v3, v1

    const/high16 v4, 0x41c0

    mul-float/2addr v4, p2

    sub-float/2addr v3, v4

    const/high16 v4, 0x4000

    div-float/2addr v3, v4

    float-to-int v3, v3

    int-to-float v4, v2

    const/high16 v5, 0x4204

    mul-float/2addr v5, p2

    sub-float/2addr v4, v5

    const/high16 v5, 0x4000

    div-float/2addr v4, v5

    float-to-int v4, v4

    iget-object v5, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    invoke-virtual {v5, v3, v4, v3, v4}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    const v4, 0x7f02026e

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v3, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    invoke-virtual {v4, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    const/16 v4, 0x8

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    invoke-virtual {p0, v3}, Lcom/xingbook/audio/d/g;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/widget/TextView;

    invoke-direct {v3, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    const/4 v4, 0x0

    const/high16 v5, 0x4210

    mul-float/2addr v5, p2

    invoke-virtual {v3, v4, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    const v4, -0xe74b13

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    const/16 v4, 0x11

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v3, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    invoke-virtual {p0, v3}, Lcom/xingbook/audio/d/g;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/view/View;

    invoke-direct {v3, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v4, 0x4218

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const/high16 v5, 0x4208

    mul-float/2addr v5, p2

    float-to-int v5, v5

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v4, 0x4218

    mul-float/2addr v4, p2

    float-to-int v4, v4

    sub-int v4, v1, v4

    div-int/lit8 v4, v4, 0x2

    iput v4, v3, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    const/high16 v4, 0x4208

    mul-float/2addr v4, p2

    float-to-int v4, v4

    sub-int v4, v2, v4

    div-int/lit8 v4, v4, 0x2

    iput v4, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    invoke-virtual {v4, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    invoke-virtual {p0, v3}, Lcom/xingbook/audio/d/g;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/view/View;

    invoke-direct {v3, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    const v4, 0x7f020299

    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundResource(I)V

    const/high16 v3, 0x4228

    mul-float/2addr v3, p2

    float-to-int v3, v3

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v4, v3, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    sub-int v5, v2, v3

    div-int/lit8 v5, v5, 0x2

    iput v5, v4, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    sub-int v3, v1, v3

    div-int/lit8 v3, v3, 0x2

    iput v3, v4, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    invoke-virtual {v3, v4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    invoke-virtual {p0, v3}, Lcom/xingbook/audio/d/g;->addView(Landroid/view/View;)V

    const/high16 v3, 0x431a

    mul-float/2addr v3, p2

    float-to-int v3, v3

    new-instance v4, Landroid/widget/RelativeLayout;

    invoke-direct {v4, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    new-instance v5, Lcom/xingbook/audio/d/i;

    invoke-direct {v5, p0, v0}, Lcom/xingbook/audio/d/i;-><init>(Lcom/xingbook/audio/d/g;Landroid/content/Context;)V

    invoke-virtual {v4, v5}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v4, v3, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v2, 0xb

    invoke-virtual {v4, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/d/g;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/view/View;

    invoke-direct {v2, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    const v4, 0x7f02026d

    invoke-virtual {v2, v4}, Landroid/view/View;->setBackgroundResource(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v4, 0x4228

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const/high16 v5, 0x4218

    mul-float/2addr v5, p2

    float-to-int v5, v5

    invoke-direct {v2, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0xd

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v4, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const/4 v4, 0x0

    const/high16 v5, 0x41f0

    mul-float/2addr v5, p2

    invoke-virtual {v2, v4, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const v4, -0x4b4b4c

    invoke-virtual {v2, v4}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const/16 v4, 0x11

    invoke-virtual {v2, v4}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v4, -0x1

    const/4 v5, -0x1

    invoke-direct {v2, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v4, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/view/View;

    invoke-direct {v2, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/d/g;->i:Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->i:Landroid/view/View;

    const v4, 0x7f02026b

    invoke-virtual {v2, v4}, Landroid/view/View;->setBackgroundResource(I)V

    const/high16 v2, 0x423c

    mul-float/2addr v2, p2

    float-to-int v2, v2

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v4, v2, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v2, 0xd

    invoke-virtual {v4, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->i:Landroid/view/View;

    invoke-virtual {v2, v4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/audio/d/g;->i:Landroid/view/View;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/LinearLayout;

    invoke-direct {v2, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    const/4 v4, 0x1

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setOrientation(I)V

    const/16 v4, 0x13

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, -0x1

    const/high16 v6, 0x42fc

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v1, v4, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v3, v4, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/d/g;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/audio/d/g;->d:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->d:Landroid/widget/TextView;

    const/4 v3, 0x0

    const v4, 0x42066666

    mul-float/2addr v4, p2

    invoke-virtual {v1, v3, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->d:Landroid/widget/TextView;

    const v3, -0xcccccd

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->d:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->setSingleLine()V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->d:Landroid/widget/TextView;

    sget-object v3, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->d:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/view/View;

    invoke-direct {v1, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/audio/d/g;->j:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->j:Landroid/view/View;

    const v1, -0x333334

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, 0x1

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v1, 0x42fc

    mul-float/2addr v1, p2

    const/high16 v2, 0x3f80

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->j:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->j:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/audio/d/g;->addView(Landroid/view/View;)V

    if-eqz p5, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/xingbook/audio/d/g;)Lcom/xingbook/park/ui/o;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    return-object v0
.end method

.method static synthetic a(Lcom/xingbook/audio/d/g;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/audio/d/g;->setPlayState(Z)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/audio/d/g;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    return-object v0
.end method

.method private c()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    new-instance v1, Lcom/xingbook/audio/d/j;

    invoke-direct {v1, p0}, Lcom/xingbook/audio/d/j;-><init>(Lcom/xingbook/audio/d/g;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;-><init>(Lcom/xingbook/ting/receiver/b;)V

    iput-object v0, p0, Lcom/xingbook/audio/d/g;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->a(Landroid/content/Context;)V

    new-instance v0, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v1, Lcom/xingbook/audio/d/k;

    invoke-direct {v1, p0}, Lcom/xingbook/audio/d/k;-><init>(Lcom/xingbook/audio/d/g;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;-><init>(Lcom/xingbook/ting/receiver/d;)V

    iput-object v0, p0, Lcom/xingbook/audio/d/g;->q:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->q:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->a(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic d(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/d/l;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->l:Lcom/xingbook/audio/d/l;

    return-object v0
.end method

.method private setPlayState(Z)V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-boolean v0, p0, Lcom/xingbook/audio/d/g;->o:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_1
.end method


# virtual methods
.method public a()V
    .locals 6

    const/4 v5, 0x0

    const/16 v4, 0x8

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-interface {v0}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->d(Ljava/lang/String;)Lcom/xingbook/service/download/k;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->m:Lcom/xingbook/park/d/e;

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v3}, Lcom/xingbook/audio/b/b;->s()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;I)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Lcom/xingbook/service/download/k;->b()I

    move-result v0

    invoke-virtual {p0, v1, v0}, Lcom/xingbook/audio/d/g;->a(Ljava/lang/String;I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->ag()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x6

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/audio/d/g;->a(Ljava/lang/String;I)V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/audio/d/g;->a(Ljava/lang/String;I)V

    goto :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0, v5}, Lcom/xingbook/audio/d/g;->a(Ljava/lang/String;I)V

    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Ljava/lang/String;)V

    goto :goto_0

    :pswitch_4
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const-string v1, "\u5df2\u5b8c\u6210"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->i:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch -0x1
        :pswitch_0
        :pswitch_2
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_4
    .end packed-switch
.end method

.method public a(Lcom/xingbook/audio/b/b;ZZZ)V
    .locals 4

    const/16 v3, 0x8

    const/4 v0, 0x0

    if-nez p1, :cond_0

    invoke-virtual {p0, v3}, Lcom/xingbook/audio/d/g;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->s()I

    move-result v1

    invoke-static {v1}, Lcom/xingbook/c/t;->g(I)I

    move-result v1

    const/16 v2, 0x50

    if-ne v1, v2, :cond_1

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    const v2, 0x7f020270

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundResource(I)V

    :goto_1
    iget-object v1, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-boolean v1, p0, Lcom/xingbook/audio/d/g;->o:Z

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_2
    iget-object v1, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->i:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    iput-object p1, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->d:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->u()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz p3, :cond_3

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->j:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    :goto_3
    iget-object v1, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->af()I

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-interface {v1}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->a:Landroid/widget/ImageView;

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2}, Lcom/xingbook/park/ui/o;->b(Ljava/lang/String;)Z

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

    goto/16 :goto_0

    :cond_1
    iget-object v1, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    const v2, 0x7f02026f

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundResource(I)V

    goto/16 :goto_1

    :cond_2
    iget-object v1, p0, Lcom/xingbook/audio/d/g;->c:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_2

    :cond_3
    iget-object v1, p0, Lcom/xingbook/audio/d/g;->j:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    goto :goto_3

    :cond_4
    iget-object v1, p0, Lcom/xingbook/audio/d/g;->k:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-static {}, Lcom/xingbook/ting/play/j;->a()Lcom/xingbook/ting/play/j;

    move-result-object v1

    if-eqz v1, :cond_5

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->c()Lcom/xingbook/audio/b/a;

    move-result-object v2

    if-eqz v2, :cond_5

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->h()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_5

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->c()Lcom/xingbook/audio/b/a;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/audio/b/a;->t()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_5

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v2

    if-eqz v2, :cond_5

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->af()I

    move-result v2

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->af()I

    move-result v1

    if-ne v2, v1, :cond_5

    const/4 v0, 0x1

    :cond_5
    invoke-direct {p0, v0}, Lcom/xingbook/audio/d/g;->setPlayState(Z)V

    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->a()V

    goto/16 :goto_0
.end method

.method public a(Lcom/xingbook/b/n;IZ)V
    .locals 3

    const/4 v2, 0x1

    const/4 v0, 0x0

    :try_start_0
    check-cast p1, Lcom/xingbook/audio/b/b;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    invoke-virtual {p0, p1, v2, v2, v2}, Lcom/xingbook/audio/d/g;->a(Lcom/xingbook/audio/b/b;ZZZ)V

    return-void

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    move-object p1, v0

    goto :goto_0
.end method

.method public a(Lcom/xingbook/b/n;ZIZ)V
    .locals 3

    const/4 v2, 0x1

    const/4 v0, 0x0

    :try_start_0
    check-cast p1, Lcom/xingbook/audio/b/b;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    invoke-virtual {p0, p1, p2, v2, v2}, Lcom/xingbook/audio/d/g;->a(Lcom/xingbook/audio/b/b;ZZZ)V

    return-void

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    move-object p1, v0

    goto :goto_0
.end method

.method public a(Ljava/lang/String;I)V
    .locals 5

    const v4, 0x7f080059

    const/16 v3, 0x8

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-interface {v0}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->m:Lcom/xingbook/park/d/e;

    iget-object v2, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->s()I

    move-result v2

    invoke-virtual {v0, p1, v2}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;I)Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/xingbook/service/download/b;->d(Ljava/lang/String;)Lcom/xingbook/service/download/k;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lcom/xingbook/service/download/k;->b()I

    move-result p2

    invoke-virtual {v0}, Lcom/xingbook/service/download/k;->e()I

    move-result v0

    :goto_1
    iget-object v2, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v2, p2}, Lcom/xingbook/audio/b/b;->b(I)V

    packed-switch p2, :pswitch_data_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :cond_3
    move v0, v1

    goto :goto_1

    :pswitch_0
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const-string v2, "\u8bf7\u7a0d\u7b49\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const v2, 0x7f080056

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :pswitch_2
    invoke-virtual {p0, p1, v0}, Lcom/xingbook/audio/d/g;->b(Ljava/lang/String;I)V

    goto :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const v2, 0x7f080057

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :pswitch_4
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const-string v2, "\u5df2\u5b8c\u6210"

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->i:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :pswitch_5
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public a_()V
    .locals 0

    return-void
.end method

.method public a_(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-interface {v0}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    const/4 v1, 0x7

    invoke-virtual {v0, v1}, Lcom/xingbook/audio/b/b;->b(I)V

    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->a()V

    goto :goto_0
.end method

.method public b(Ljava/lang/String;I)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-interface {v0}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->m:Lcom/xingbook/park/d/e;

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->s()I

    move-result v1

    invoke-virtual {v0, p1, v1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;I)Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "%"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public b_(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-interface {v0}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->m:Lcom/xingbook/park/d/e;

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->s()I

    move-result v1

    invoke-virtual {v0, p1, v1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;I)Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const-string v1, "\u8bf7\u7a0d\u7b49\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->f:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public c(Ljava/lang/String;I)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->n:Lcom/xingbook/park/ui/o;

    invoke-interface {v0}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->m:Lcom/xingbook/park/d/e;

    iget-object v1, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->s()I

    move-result v1

    invoke-virtual {v0, p1, v1}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;I)Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const v1, 0x7f080059

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->g:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method public getResType()I
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->h:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->s()I

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/16 v0, 0x50

    goto :goto_0
.end method

.method protected onAttachedToWindow()V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/audio/d/g;->c()V

    invoke-super {p0}, Landroid/widget/RelativeLayout;->onAttachedToWindow()V

    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/g;->q:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/audio/d/g;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->b(Landroid/content/Context;)V

    invoke-super {p0}, Landroid/widget/RelativeLayout;->onDetachedFromWindow()V

    return-void
.end method
